launchd.agents.<name>.serviceConfig.StartOnMount

This optional key causes the job to be started every time a filesystem is mounted.

Type
null or boolean
Default
null
Declared
<nix-darwin/modules/launchd>